package com.tang.model.vistor;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/9/8 7:57
 * @Desc
 * @Remarks
 */
public class CEOVisitor implements IVisitor {
    @Override
    public void visit(Manager manager) {
        System.out.println(manager.getName() + " KPI : " + manager.getKpi());
    }

    @Override
    public void visit(Engineer engineer) {
        System.out.println(engineer.getName() +" KPI : " + engineer.getKpi());
    }
}
